export const pageContentConfig = {
  pageName: 'menu',
  title: '菜单列表',
  propList: [
    {
      prop: 'name',
      label: '菜单名称',
      minWidth: 180
    },
    {
      prop: 'icon',
      label: '图标',
      minWidth: 100,
      slotName: 'iconSlot'
    },
    {
      prop: 'url',
      label: '菜单url',
      minWidth: 220
    },
    {
      prop: 'permission',
      label: '按钮权限',
      minWidth: 180
    },
    {
      prop: 'sort',
      label: '排序',
      minWidth: 100
    },
    {
      prop: 'type',
      label: '菜单类型',
      minWidth: 180,
      slotName: 'typeSlot'
    },
    {
      prop: 'createAt',
      label: '创建时间',
      minWidth: '250',
      slotName: 'createAt'
    },

    {
      prop: 'updateAt',
      label: '更新时间',
      minWidth: '250',
      slotName: 'updateAt'
    },
    {
      label: '操作按钮',
      minWidth: 120,
      slotName: 'btnSlot'
    }
  ],
  childrenPropos: {
    rowKey: 'id',
    treeProps: {
      children: 'children'
    }
  }
}
